// 引入 createRouter 方法
import { createRouter , createWebHistory } from "vue-router";

// 创建路由实例
const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/',
            name: 'Login',
            component: () => import('@/views/Login.vue')
        }
    ]
});

// 暴露路由实例
export default router;